projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa1434
)
fix for the compatibility fix
author
Stefan Jeske
<stefan@src.gnome.org>
Thu, 25 Jun 1998 07:43:27 +0000
(07:43 +0000)
committer
Stefan Jeske
<stefan@src.gnome.org>
Thu, 25 Jun 1998 07:43:27 +0000
(07:43 +0000)
gtk/gtkspinbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkspinbutton.c
b/gtk/gtkspinbutton.c
index bec59e7e6e62f59e094766333715477176cab298..ce98510eb6317df4649630cac4a8b760d63408a3 100644
(file)
--- a/
gtk/gtkspinbutton.c
+++ b/
gtk/gtkspinbutton.c
@@
-1320,7
+1320,8
@@
gtk_spin_button_spin (GtkSpinButton *spin_button,
/* for compatibility with the 1.0.x version of this function */
if (increment != 0 && increment != adj->step_increment &&
- increment != adj->page_increment && direction != GTK_SPIN_USER_DEFINED)
+ (direction == GTK_SPIN_STEP_FORWARD ||
+ direction == GTK_SPIN_STEP_BACKWARD))
{
if (direction == GTK_SPIN_STEP_BACKWARD && increment > 0)
increment = -increment;